package com.jl.magic.montage.config;

import com.jl.magic.enums.ShapeEnum;

/**
 * @author jiangli
 * @create 2020/7/14 11:36 上午
 */
public class SquareInlayConfig extends AbstractInlayConfig {

    /**
     * 正方形边长
     */
    protected int side;

    /**
     * 水平垂直方向切分数量
     */
    protected int[] slice;

    public SquareInlayConfig(int side) {
        super();
        this.side = side;
        setInlayShapeEnum(ShapeEnum.SQUARE);
    }

    public int getSide() {
        return side;
    }

    public void setSide(int side) {
        this.side = side;
    }

    public int[] getSlice() {
        return slice;
    }

    public void setSlice(int[] slice) {
        this.slice = slice;
    }

}
